home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
comsh17.arc
/
SESSIO.DOC
< prev
next >
Wrap
Text File
|
1985-06-03
|
2KB
|
56 lines
The session script is meant to be run *offline*. It generates a
script of its own, called SESS.CSH that will visit various SIGs,
read messages, leave replies, etc. -- all of which you told it
to do while running SESSION.CSH.
In order for the script generated by SESSION.CSH to work, you must
download the following scripts from the PROGRAMMER'S SIG:
RI.CSH
REPLY.CSH
LEAVE.CSH
SS.CSH
GOSIG.CSH
RN.CSH
RMQSNRR.CSH
LOGOFF.CSH
In addition, you must have your own "LOGIN.CSH" script that will
leave you at a "!" prompt (or any other prompt capable of accepting
a CIS command of the form "GO pagenumber").
When you run session.csh, it first creates the file sess.csh, and puts
the line "login" at the top. Thus, when sess is executed, the first
thing it does is (presumably) log you into CIS. After that, you
are able to interactively build up the sess.csh script during the
execution of session.csh. Session will ask you which SIGs you want
to vist, what you want to do in these SIGs, and where to write the
capture buffer it generates.
When you are done, you tell session that you want to log off, and that
completes the generation of sess.csh.
Again, all of the above is being done *offline* -- you are not connected
to CIS while SESS.CSH is being generated. Once you have thoroughly specified
what you want to do and are ready for things to begin, you start the
execution of the SESS script. This file, then, will dial up CIS
(assuming you have autodial abilities in your login.csh script), log
you in, visit the SIGs you want, retrieve your messages, post your
replies, and so on -- and then log off again when things are done!!!
All this allows you to minimize your connect time to CIS (After all,
you aren't sitting there gawking at the messages until after you're
logged off again). And ... it demonstrates the abilities of scripts.
Naturally, these scripts can be modified in any way you choose. For the
really strange of you, you can even specify a script that drops into
CB, says hello to everybody, says goodbye a few seconds later, and
then carries on with SIG hopping!
Enjoy!
c h a r l e s